package seqlist.stack_queue.queue;

import seqlist.stack_queue.queue.impl.LinkedQueue;

/**
 * @author yuisama
 * @date 2023/03/22 19:24
 **/
public class MyQueueTest {
    public static void main(String[] args) {
        MyQueue<Integer> queue = new LinkedQueue<>();
        queue.offer(1);
        queue.offer(3);
        queue.offer(5);
        queue.offer(7);
        System.out.println(queue.peek());
        queue.poll();
        System.out.println(queue);
    }
}